Set union of two views.
Namespace:
C1.LiveLinq.LiveViewsAssembly: C1.Silverlight.LiveLinq (in C1.Silverlight.LiveLinq.dll)
Syntax
C# |
---|
public View<T> Union( IObservableSource<T> second ) |
Visual Basic |
---|
Public Function Union ( _ second As IObservableSource(Of T) _ ) As View(Of T) |
Parameters
- second
- Type: C1.LiveLinq..::..IObservableSource<(Of <(<'T>)>)>
A collection (usually, a view) whose distinct elements form the second set for the union.
Return Value
The view that contains the elements from both input views, excluding duplicates.Remarks
This method excludes duplicates from the result set. This is different behavior to
the Concat(IObservableSource<(Of <<'(T>)>>)) method, which returns all the elements in the input sequences including duplicates.